package com.intellagric.mapper;

import com.intellagric.pojo.AgtSpecies;
import com.intellagric.pojo.AgtSpeciesExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgtSpeciesMapper {
    long countByExample(AgtSpeciesExample example);

    int deleteByExample(AgtSpeciesExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgtSpecies record);

    int insertSelective(AgtSpecies record);

    List<AgtSpecies> selectByExample(AgtSpeciesExample example);

    AgtSpecies selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgtSpecies record, @Param("example") AgtSpeciesExample example);

    int updateByExample(@Param("record") AgtSpecies record, @Param("example") AgtSpeciesExample example);

    int updateByPrimaryKeySelective(AgtSpecies record);

    int updateByPrimaryKey(AgtSpecies record);
}